package com.yidu.BusinessData.service;

import com.yidu.BusinessData.entity.assetValuation;
import com.yidu.BusinessManagement.entity.DealData;
import com.yidu.InventoryManagement.entity.CashAccrualStock;
import com.yidu.InventoryManagement.entity.SecurityAccrualStock;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author z
 * @version 1.0
 * @date 2022/12/12
 */
@Transactional
public interface assetValuationService {
    /**
     * 查询
     * @param
     * @param
     * @param assetDate
     * @return
     */
    Map selectAssetValuation(String assetDate, String assetValuationId);

    List<assetValuation> select(String assetDate);
    //删除证券应收应付库存
    public int deleteSecuritiesInventoryInfos(SecurityAccrualStock securityAccrualStock);

    //查交易数据 按证券代码分组 插入证券应收应付库存
     List<DealData> selectAssetValuationss(String dealTime);
    //public HashMap selectAssetValuationss(String dealTime);
    //查交易数据后 按条件删除 证券应收应付表的内容
    public int deleteSecuritiesInventoryInfoTwo(SecurityAccrualStock securityAccrualStock);
    //查询ta交易数据
   // public HashMap selectTaTransaction(String assetDate,String assetValuationId);

    //删除现金应收应付库存
    public int deleteCashAccrualStock(CashAccrualStock cashAccrualStock);
//查询交易数据的开始时间
    public double selectMoneyByDate(String dealTime);
}
